<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd"
        >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>UploadPanel</title>
</head>
<body>
<wicket:panel>
    <form wicket:id="choiceForm">
        Vyberte hlavní obrázek:<br/>
        <select wicket:id="imagesDropDown">
            <option>image 1</option>
            <option>image 2</option>
        </select> <input type="submit" value="Save as main image" wicket:message="value:shop.product.image.main.save"/>
    </form>
    <div wicket:id="uploadFeedback">
    </div>
    <form wicket:id="simpleUpload">
        <input type="file" wicket:id="fileInput" value="Save" wicket:message="value:save"/>
        <input type="submit" value="Upload" wicket:message="value:upload.ok"/>
    </form>


    Galerie:
    <table border="0">
        <tbody>
        <tr wicket:id="images">
            <td>
                <div wicket:id="image"></div>
            </td>
            <td>
                <table border="1">
                    <tbody>
                    <tr>
                        <td>type</td>
                        <td wicket:id="type"></td>
                    </tr>
                    <tr>
                        <td>name</td>
                        <td wicket:id="name"></td>
                    </tr>
                    <tr>
                        <td>file dir</td>
                        <td wicket:id="fileName"></td>
                    </tr>
                    <tr>
                        <td>thumb dir</td>
                        <td wicket:id="thumbName"></td>
                    </tr>
                    <tr>
                        <td>date</td>
                        <td wicket:id="date"></td>
                    </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        </tbody>
    </table>
</wicket:panel>
</body>
</html>
